home *** CD-ROM | disk | FTP | other *** search
- on createAEList
- vsList = EMPTY
- repeat with i = 1 to 30
- repeat with j = 1 to 3
- vsAEName = "ch" & IntegerToString(i, 2) & "ae" & string(j)
- vsList = vsList & RETURN & vsAEName
- end repeat
- end repeat
- member("chapterActivities").text = vsList
- end
-
- on createbitmap
- vsName = "chapterLabel"
- repeat with i = 1 to 28
- vsMemberName = vsName & IntegerToString(i, 2)
- viMember = new(#bitmap, castLib("internal"))
- member(viMember).name = vsMemberName
- end repeat
- end
-
- on createChapterList
- vsList = EMPTY
- repeat with i = 1 to 30
- vsAEName = "Chapter " & IntegerToString(i, 2)
- vsList = vsList & RETURN & vsAEName
- end repeat
- member("chapterText").text = vsList
- end
-
- on createChapterData
- vsList = EMPTY
- repeat with i = 1 to 30
- vsList = vsList & RETURN
- repeat with j = 1 to 3
- vsList = vsList & "ch" & IntegerToString(i, 2) & "ae" & string(j) & TAB
- end repeat
- vsList = vsList & "ch" & IntegerToString(i, 2) & "quiz"
- end repeat
- delete line 1 of vsList
- member("chapterData").text = vsList
- end
-
- on renameImages
- repeat with i = 10 to 30
- member("ch" & IntegerToString(i, 2) & "ae1").name = "ch" & IntegerToString(i, 2) & "image"
- end repeat
- end
-
- on renamecs
- repeat with i = 1 to 30
- repeat with j = 1 to 9
- vsWhich = "ch" & IntegerToString(i, 2) & "cs" & string(j)
- if MemberExistsInCastLibP(vsWhich & ".hi", "art") then
- member(vsWhich & ".hi").name = "ch" & IntegerToString(i, 2) & "cs" & IntegerToString(j, 2) & ".hi"
- end if
- if MemberExistsInCastLibP(vsWhich & ".spacer", "art") then
- member(vsWhich & ".spacer").name = "ch" & IntegerToString(i, 2) & "cs" & IntegerToString(j, 2) & ".spacer"
- end if
- end repeat
- end repeat
- end
-